<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	登陆成功
	
	
	<%
	
		Cookie[] cookies = request.getCookies();
	
		if(null != cookies){
			for(int index=0;index<cookies.length;index++){
				Cookie cookie= cookies[index];
				out.println(cookie.getValue());
			}
		}
	%>
	
	
	<br/>
	id:${entity.id} <br/>
	username:${entity.username} <br/>
	password:${entity.password} <br/>
	
	
	<form action="central/user.do" method="post" >
	
		<!-- 注销的意思： 让服务器的session立即失效 -->
		
		<input type="hidden" name="method" value="invalidate" />
		<input type="submit" value="注销">
	
	</form>
	
	在线人数： ${user}
	
</body>
</html>